package com.majun.mapper;

import com.majun.entity.UserBO;
import com.majun.entity.UserRoleRelation;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRoleRelationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserRoleRelation record);

    int insertSelective(UserRoleRelation record);

    UserRoleRelation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserRoleRelation record);

    int updateByPrimaryKey(UserBO userBO);

    List<Integer> selectByUID(Integer id);

    void deleteByUID(Integer id);
}